﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MMhome.Master" AutoEventWireup="true"
    CodeBehind="SChanel.aspx.cs" Inherits="MobileManager.SChanel" %>

<%@ Register Src="~/UserControl/Smenu.ascx" TagName="Menu" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

    <script language="javascript" type="text/javascript" src="Js/UCcalendar/WdatePicker.js"></script>

    <style type="text/css">
        .divLeft
        {
            width: 165px;
            list-style: none;
            margin-left: 10px;
            margin-right: 5px;
            margin-top: 20px;
            float: left;
        }
        .divRight
        {
            float: left;
            margin-top: 10px;
            margin-right: 10px;
        }
        .lbCursor
        {
            cursor: pointer;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderMain" runat="server">
    <div style="width: 100%">
        <div class="divLeft">
            <uc1:Menu ID="uc1menu" runat="server" />
        </div>
        <div class="divRight" style="text-align: center;">
            <table>
                <tr>
                    <td style="text-align: right;">
                        通道：
                    </td>
                    <td style="text-align: left">
                        <asp:DropDownList ID="ddlChannel" runat="server" CssClass="dropnormal">
                        </asp:DropDownList>
                    </td>
                    <td style="text-align: right;">
                        请求时间From：
                    </td>
                    <td style="text-align: left;">
                        <input class="Wdate" id="inputDateFrom" name="inputDateStart" runat="server" type="text"
                            onclick="WdatePicker()" />
                    </td>
                    <td style="text-align: right;">
                        To：
                    </td>
                    <td style="text-align: left;">
                        <input class="Wdate" id="inputDateTo" name="inputDateStart" runat="server" type="text"
                            onclick="WdatePicker()" />
                    </td>
                </tr>
                <tr>
                    <td colspan="6" align="center">
                        &nbsp;&nbsp;
                        <asp:Button ID="btnQuery" runat="server" Text="查 询" CssClass="button_green" Width="70px"
                            OnClick="btnQuery_Click" />
                        &nbsp;&nbsp;&nbsp;
                        <asp:Button ID="btnQueryAll" runat="server" Text="全部显示" CssClass="button_green" Width="70px"
                            OnClick="btnQueryAll_Click" />
                    </td>
                </tr>
            </table>
            <br />
            <div>
                <table style="width: 100%;">
                    <tr>
                        <td align="left">
                            &nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:Label ID="lbSendNum" runat="server"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:Label ID="lbSPIONum" runat="server"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:Label ID="lbRate" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td align="left">
                            &nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:Label ID="lbSendNum1" runat="server"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:Label ID="lbSPIONum1" runat="server"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:Label ID="lbRate1" runat="server"></asp:Label>
                        </td>
                    </tr>
                </table>
            </div>
            <asp:GridView ID="GVinfo" runat="server" AutoGenerateColumns="False" CssClass="reason_box"
                Font-Size="12px" CellPadding="0" BorderWidth="0px" BorderColor="#A6E1FF" 
                Width="100%" PageSize="50">
                <Columns>
                    <asp:TemplateField HeaderText="通道">
                        <ItemTemplate>
                            <asp:Label ID="lbChannelNO" runat="server" Text='<%#Eval("Channel") %>' CssClass="lbCursor"
                                ToolTip='<%# Bind("ChannelName") %>'></asp:Label>
                        </ItemTemplate>
                        <HeaderStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                        <ItemStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="下行条数">
                        <ItemTemplate>
                            <asp:Label ID="lbIMSI" runat="server" Text='<%# Bind("SIMcount") %>'></asp:Label>
                        </ItemTemplate>
                        <HeaderStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                        <ItemStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="成功条数">
                        <ItemTemplate>
                            <asp:Label ID="lbIMSI1" runat="server" Text='<%# Bind("SPIOcount") %>'></asp:Label>
                        </ItemTemplate>
                        <HeaderStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                        <ItemStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="条数成功率">
                        <ItemTemplate>
                            <asp:Label ID="lbIMSI2" runat="server" Text='<%# Bind("Rate") %>'></asp:Label>
                        </ItemTemplate>
                        <HeaderStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                        <ItemStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="下行用户数">
                        <ItemTemplate>
                            <asp:Label ID="lbIMSI" runat="server" Text='<%# Bind("SIMcount1") %>'></asp:Label>
                        </ItemTemplate>
                        <HeaderStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                        <ItemStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="成功用户数">
                        <ItemTemplate>
                            <asp:Label ID="lbIMSI1" runat="server" Text='<%# Bind("SPIOcount1") %>'></asp:Label>
                        </ItemTemplate>
                        <HeaderStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                        <ItemStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="用户数成功率">
                        <ItemTemplate>
                            <asp:Label ID="lbIMSI2" runat="server" Text='<%# Bind("Rate1") %>'></asp:Label>
                        </ItemTemplate>
                        <HeaderStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                        <ItemStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                    </asp:TemplateField>
                </Columns>
                <EmptyDataTemplate>
                    <span style="color: Red; font-weight: bold;">无数据显示</span>
                </EmptyDataTemplate>
            </asp:GridView>
        </div>
    </div>
</asp:Content>
